package com.hdax.dmw.scheduler.mapstruct;

import com.hdax.dmw.entity.scheduler.Scheduler;
import com.hdax.dmw.scheduler.dtos.TimePlanDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class TimePlanDtoMapper {

    public  abstract TimePlanDto toTarget(Scheduler source);
    public  abstract List<TimePlanDto> toTargetList(List<Scheduler> sources);
}
